import { usePageTitle } from '../hooks/usePageTitle';

export function Privacy() {
  usePageTitle('Privacy Policy');
  
  return <div className="w-full bg-white">
      <div className="container mx-auto px-4 py-12">
        <div className="max-w-3xl mx-auto">
          <h1 className="text-3xl md:text-4xl font-bold mb-6">
            Privacy Policy
          </h1>
          <p className="text-gray-600 mb-8">
            Last updated:{' '}
            {new Date().toLocaleDateString('en-US', {
            year: 'numeric',
            month: 'long',
            day: 'numeric'
          })}
          </p>
          <div className="prose max-w-none">
            <p>
              At AppliancePicks, we take your privacy seriously. This Privacy
              Policy explains how we collect, use, disclose, and safeguard your
              information when you visit our website.
            </p>
            <h2 id="information-collection" className="text-2xl font-bold mt-8 mb-4">
              Information Collection
            </h2>
            <p>
              We collect information that you provide directly to us when you:
            </p>
            <ul className="list-disc pl-5 mb-4 space-y-2">
              <li>Register for an account</li>
              <li>Subscribe to our newsletter</li>
              <li>Fill out a form</li>
              <li>Participate in surveys or contests</li>
              <li>Communicate with us via third-party social media sites</li>
              <li>Request customer support</li>
            </ul>
            <p>
              The types of information we may collect include your name, email
              address, postal address, phone number, and any other information
              you choose to provide.
            </p>
            <h2 id="automatic-information-collection" className="text-2xl font-bold mt-8 mb-4">
              Automatic Information Collection
            </h2>
            <p>
              When you access our website, we may automatically collect certain
              information about your device, including:
            </p>
            <ul className="list-disc pl-5 mb-4 space-y-2">
              <li>IP address</li>
              <li>Browser type</li>
              <li>Operating system</li>
              <li>Access times</li>
              <li>Pages viewed</li>
              <li>Other browsing information</li>
            </ul>
            <h2 id="cookies" className="text-2xl font-bold mt-8 mb-4">
              Cookies and Tracking Technologies
            </h2>
            <p>
              We use cookies, web beacons, tracking pixels, and other tracking
              technologies to help customize the website and improve your
              experience. When you access our website, we may place small data
              files called cookies on your device. These cookies help us collect
              information about how you use our website.
            </p>
            <p>
              You can instruct your browser to refuse all cookies or to indicate
              when a cookie is being sent. However, if you do not accept
              cookies, you may not be able to use some portions of our website.
            </p>
            <h2 id="use-of-information" className="text-2xl font-bold mt-8 mb-4">
              Use of Your Information
            </h2>
            <p>
              We may use the information we collect from you for various
              purposes, including to:
            </p>
            <ul className="list-disc pl-5 mb-4 space-y-2">
              <li>Provide, maintain, and improve our website</li>
              <li>Process transactions and send related information</li>
              <li>
                Send administrative information, such as updates, security
                alerts, and support messages
              </li>
              <li>Respond to your comments, questions, and requests</li>
              <li>Deliver personalized content and recommendations</li>
              <li>Monitor and analyze trends, usage, and activities</li>
              <li>Detect, prevent, and address technical issues</li>
              <li>Develop new products and services</li>
            </ul>
            <h2 id="disclosure-of-information" className="text-2xl font-bold mt-8 mb-4">
              Disclosure of Your Information
            </h2>
            <p>
              We may share information we have collected about you in certain
              situations. Your information may be disclosed as follows:
            </p>
            <ul className="list-disc pl-5 mb-4 space-y-2">
              <li>
                <strong>By Law or to Protect Rights:</strong> If we believe the
                release of information is appropriate to comply with the law or
                protect our rights.
              </li>
              <li>
                <strong>Third-Party Service Providers:</strong> We may share
                your information with third parties that perform services for us
                or on our behalf.
              </li>
              <li>
                <strong>Marketing Communications:</strong> With your consent, we
                may share your information with third parties for marketing
                purposes.
              </li>
              <li>
                <strong>Business Transfers:</strong> If we are involved in a
                merger, acquisition, or sale of all or a portion of our assets.
              </li>
            </ul>
            <h2 id="your-rights" className="text-2xl font-bold mt-8 mb-4">
              Your Rights
            </h2>
            <p>You have certain rights regarding your personal information:</p>
            <ul className="list-disc pl-5 mb-4 space-y-2">
              <li>
                <strong>Access:</strong> You can request access to your personal
                information.
              </li>
              <li>
                <strong>Correction:</strong> You can request that we correct
                inaccurate or incomplete information.
              </li>
              <li>
                <strong>Deletion:</strong> You can request that we delete your
                personal information.
              </li>
              <li>
                <strong>Restriction:</strong> You can request that we restrict
                the processing of your information.
              </li>
              <li>
                <strong>Data Portability:</strong> You can request a copy of
                your information in a structured, commonly used format.
              </li>
              <li>
                <strong>Objection:</strong> You can object to our processing of
                your information.
              </li>
            </ul>
            <h2 id="contact-us" className="text-2xl font-bold mt-8 mb-4">
              Contact Us
            </h2>
            <p>
              If you have questions or concerns about this Privacy Policy,
              please contact us at:
            </p>
            <address className="not-italic mt-2">
              AppliancePicks
              <br />
              Email: privacy@appliancepicks.com
              <br />
              Address: 123 Smart Home Avenue, Tech City, CA 94043
            </address>
          </div>
        </div>
      </div>
    </div>;
}